<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
<title></title>

<#include "/jspgou_sys/head.html"/>
<script type="text/javascript">
$(function() {
	$("#jvForm").validate();
	<#if logistics.logoPath??>
	$("#preImg1").css("width","139").css("height","139").attr("src","${uploadRoot!}${logistics.logoPath}?d="+new Date()*1);
	</#if>
});
</script>

</head>
<body>
<#include "/common/image_upload.html"/>
<div class="body-box">
<div class="rhead">
	<div class="rpos"><@s.m "global.position"/>: 物流公司 - <@s.m "global.edit"/></div>
	<form class="ropt">
		<input type="button" value="<@s.m "global.backToList"/>" onclick="history.back();"/>
	</form>
	<div class="clear"></div>
</div>
<#assign  companycodehelp="<a target='_blank' href='http://www.kuaidi100.com/download/api_kuaidi100_com(20140729).doc'>快递公司代码</a>">
<@p.form id="jvForm" action="o_update.do" labelWidth="12">
<@p.text colspan="2" width="50"  label="公司名称" name="name" value=logistics.name required="true" class="required" maxlength="30"  /><@p.tr/>
<@p.text colspan="2" width="50"  label="公司代码" name="companyCode" value=logistics.companyCode help=companycodehelp required="true" maxlength="30"/><@p.tr/>
<@p.text colspan="2" width="100" label="官网网址" name="webUrl" value=logistics.webUrl size="50" maxlength="30"/><@p.tr/>
<@p.text colspan="2" width="100" label="排列顺序" name="priority" value=logistics.priority required="true" class="required digits" maxlength="8"/><@p.tr/>
<@p.td label="LOGO" colspan="1" width="50" noHeight="true">
<@p.text id="uploadImgPath1" name="logoPath" value=logistics.logoPath! size="30" maxlength="30"/> 
<input type="button" value="<@s.m "imageupload.clear"/>" onclick="clearImg(1);"/><br/>
<span id="ufc1"><input type="file" id="uploadFile1" size="20"/></span> <input type="button" value="<@s.m "imageupload.upload"/>" onclick="upload(1);"/><br/>
<@s.m "global.width"/>: <input type="text" id="zoomWidth1" value="139" size="5"/> <@s.m "global.height"/>: <input type="text" id="zoomHeight1" value="139" size="5"/> <input type="button" value="<@s.m "imageupload.cut"/>" onclick="imgCut(1);"/> 
</@p.td><@p.td colspan="1" width="50">
<img id="preImg1" alt="<@s.m "imageupload.preview"/>" style="width:100px;height:70px;background-color:#ccc;border:1px solid #333"/>

</@p.td><@p.tr/>
<@p.editor colspan="2" label="公司介绍" name="text" value=logistics.text /><@p.tr/>

<@p.td colspan="2"><@p.hidden name="id" value=logistics.id/><@p.submit code="global.submit"/> &nbsp; <@p.reset code="global.reset"/></@p.td>
</@p.form>
</div>
</body>
</html>